/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package neuronalenetzeelearning.view.controlpanel;

import java.awt.Color;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import neuronalenetzeelearning.view.gui.GUI;

/**
 *
 * @author Mariele
 */
public class NavigationPanel extends JPanel{
    JButton next;
    JButton previous;
    JButton start;
    JButton end;
    JButton help;
    GridBagConstraints constraints;
    GridBagLayout grid ;

    public NavigationPanel(){     
        this.constraints = new GridBagConstraints();
        this.grid = new GridBagLayout();
        this.setBackground(Color.WHITE);
        this.setBorder(javax.swing.BorderFactory.createTitledBorder("Navigation"));
        constraints.fill = GridBagConstraints.HORIZONTAL;
        constraints.gridwidth = GridBagConstraints.RELATIVE;

        //Set the look and feel
        try {
            UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
        } catch (ClassNotFoundException ex) {
            Logger.getLogger(GUI.class.getName()).log(Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            Logger.getLogger(GUI.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            Logger.getLogger(GUI.class.getName()).log(Level.SEVERE, null, ex);
        } catch (UnsupportedLookAndFeelException ex) {
            Logger.getLogger(GUI.class.getName()).log(Level.SEVERE, null, ex);
        }

        this.next = new JButton ("Weiter");
        this.previous = new JButton ("Zurück");
        this.start = new JButton ("Start");
        this.end = new JButton ("Ende");
        this.help = new JButton ("Hilfe");


    }

    public JButton getEnd() {
        return end;
    }

    public void setEnd(JButton end) {
        this.end = end;
    }

    public JButton getNext() {
        return next;
    }

    public void setNext(JButton next) {
        this.next = next;
    }

    public JButton getPrevious() {
        return previous;
    }

    public void setPrevious(JButton previous) {
        this.previous = previous;
    }

    public JButton getStart() {
        return start;
    }

    public void setStart(JButton start) {
        this.start = start;
    }

    public JButton getHelp(){
        return help;
    }

    public void setHelp(JButton help){
        this.help = help;
    }
    
}
